package test;

import factory.Buyer;
import factory.IntermediaryImpl;
import factory.RealBuyer;

import java.util.logging.Logger;

public class Demo4 {
    public static void main(String[] args) {
        Buyer buyer = new IntermediaryImpl(new RealBuyer());
        String result =buyer.havealook();
        System.out.println(result);
    }
}
